package com.ruoyi.article.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 评论 对象 ac_discuss
 * 
 * @author rey
 * @date 2022-02-10
 */
public class Discuss extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 评论ID */
    private Long discussId;

    /** 点赞数 */
    @Excel(name = "点赞数")
    private Long likeCount;

    /** 发表用户 */
    @Excel(name = "发表用户")
    private Long discussUser;

    /** 评论文章ID */
    @Excel(name = "评论文章ID")
    private Long articleId;

    /** 评论内容 */
    @Excel(name = "评论内容")
    private String content;

    public void setDiscussId(Long discussId) 
    {
        this.discussId = discussId;
    }

    public Long getDiscussId() 
    {
        return discussId;
    }
    public void setLikeCount(Long likeCount) 
    {
        this.likeCount = likeCount;
    }

    public Long getLikeCount() 
    {
        return likeCount;
    }
    public void setDiscussUser(Long discussUser) 
    {
        this.discussUser = discussUser;
    }

    public Long getDiscussUser() 
    {
        return discussUser;
    }
    public void setArticleId(Long articleId) 
    {
        this.articleId = articleId;
    }

    public Long getArticleId() 
    {
        return articleId;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("discussId", getDiscussId())
            .append("createTime", getCreateTime())
            .append("likeCount", getLikeCount())
            .append("discussUser", getDiscussUser())
            .append("articleId", getArticleId())
            .append("content", getContent())
            .append("parentId", getParentId())
            .toString();
    }
}
